<?php
	global $_W,$_GPC;
	if($_W['role']&&$_W['isajax']){
		$did = $_GPC['did'];
		$del = pdo_delete('mii_ang_book',array('id'=>$did,'uniacid'=>$_W['uniacid']));
		if($del){
			$code = json_encode(array('status'=>'1','msg'=>'取消成功'));
			exit($code);
		}else{
			$code = json_encode(array('status'=>'2','msg'=>'取消失败'));
			exit($code);		
		}

	}else{
		$code = json_encode(array('status'=>'2','msg'=>'没有操作权限'));
		exit($code);
	}




?>